package com.gameapplet.cash.service.Impl;


import com.gameapplet.cash.dao.IMoneyAllocDao;
import com.gameapplet.cash.model.MoneyAlloc;
import com.gameapplet.cash.service.IMoneyAllocService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("moneyAllocService")
public class MoneyAllocServiceImpl implements IMoneyAllocService {

    @Resource(name = "moneyAllocDao")
    IMoneyAllocDao moneyAllocDao;

    @Override
    public int insertMoneyAlloc(MoneyAlloc moneyAlloc) {
        return moneyAllocDao.insertMoneyAlloc(moneyAlloc);
    }
}
